package com.bmf.admin.module.scenario.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;


/**
 * 想定流程节点(ScenarioFlowNode)表实体类
 *
 * @author aries
 * @since 2024-08-19 12:22:38
 */
@Data
@Schema(description = "想定流程节点")
@TableName("scenario_flow_node")
public class ScenarioFlowNode implements Serializable {

    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @Schema(description = "想定id")
    private String scenarioId;

    @Schema(description = "流程id")
    private String workflowId;

    @Schema(description = "节点名")
    private String nodeName;

    @Schema(description = "节点类型:LOGIC/ CONTENT：逻辑节点，比如选择，循环，判断/ 普通内容")
    private String nodeType;

    @Schema(description = "名称显示位置，L，R，T，B，C")
    private String nodePosition;

    @Schema(description = "节点起始x")
    private Integer x;

    @Schema(description = "节点起始y")
    private Integer y;

    @Schema(description = "属性")
    private String properties;

    @Schema(description = "是否只显示父级")
    private Integer onlyShowParent;

    private Integer zzIndex;

    @Schema(description = "文本的位置x")
    private String textX;

    @Schema(description = "文本的位置y")
    private String textY;
}

